package com.rulin.asp.business.externalservice.entity;

import org.apache.commons.lang3.StringUtils;

import com.rulin.asp.business.entity.Page;

public class QueryParam {

	private String bookClass;//图书类别：2、考研西医
	
	private String bookName;//图书名称：1：19考研西医辅导讲义 2：19考研西医真题精析 3：19考研西医同步练习 4：19考研西医全真模拟卷
	
	private Integer pageNum;//图书页码
	
	private String question;//问题描述关键字
	
	private Page page;

	public String getBookClass() {
		if(StringUtils.isBlank(bookClass)){
			return "2";
		}
		return bookClass;
	}

	public void setBookClass(String bookClass) {
		this.bookClass = bookClass;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}
	
}
